/*
 * @Descripttion:
 * @version:
 * @Date: 2021-04-20 11:06:21
 * @LastEditors: huzhushan@126.com
 * @LastEditTime: 2022-09-24 19:27:21
 * @Author: huzhushan@126.com
 * @HomePage: https://huzhushan.gitee.io/vue3-element-admin
 * @Github: https://github.com/huzhushan/vue3-element-admin
 * @Donate: https://huzhushan.gitee.io/vue3-element-admin/donate/
 */
// home.js
const Layout = () => import('@/layout/index.vue')
const Home = () => import('@/views/home/index.vue')
const Test = () => import('@/views/ztyh/card.vue')
const loan = () => import('@/views/ztyh/loan.vue')
const wallet = () => import('@/views/ztyh/wallet.vue')
const yhcard = () => import('@/views/ztyh/yhcard.vue')
const myfunds = () =>import('@/views/ztyh/myfunds.vue')

const myloan = () =>import('@/views/ztyh/myloans.vue')
const Baidu = () => import('@/views/ztyh/baiduditu.vue')
export default [
  {
    path: '/home',
    component: Layout,
    name: 'Dashboard',
    meta: {
      title: 'menu.dashboard',
    },
    icon: 'icon-home',
    children: [
      {
        path: '',
        name: 'home',
        component: Home,
        meta: {
          title: '理财投资',
          affix: true,
        },
        icon: 'TrendCharts',
      },

      {
        path: '/myfunds',
        name: 'myfunds',
        component: myfunds,
        meta: {
          title: '我的理财',
          affix: true,
        },
        icon: 'House',
      },
      {
        path: 'test',
        name: 'test',
        component: Test,
        meta: {
          title: '信用卡',
          affix: true,
        },
        icon: 'CreditCard',
      },
      {
        path: 'test2',
        name: 'test2',
        component: loan,
        meta: {
          title: '贷款',
          affix: true,
        },
        icon: 'Pointer',
      },
      {
        path: '/myloans',
        name: 'myloans',
        component: myloan,
        meta: {
          title: '我的贷款',
          affix: true,
        },
        icon: 'Grid',
      },
      {
        path: 'test3',
        name: 'test3',
        component: yhcard,
        meta: {
          title: '银行卡',
          affix: true,
        },
        icon: 'Avatar',
      },
      {
        path: 'test4',
        name: 'test4',
        component: wallet,
        meta: {
          title: '我的钱包',
          affix: true,
        },
        icon: 'WalletFilled',
      },
      {
        path: 'test5',
        name: 'test5',
        component: wallet,
        meta: {
          title: '存款',
          affix: true,
        },
        icon: 'WalletFilled',
      },
      {
        path: 'test6',
        name: 'test6',
        component: Baidu,
        meta: {
          title: '银行位置',
          affix: true,
        },
        icon: 'WalletFilled',
      },
    ],
  },
]
